package top.huxy.boot.config;

public interface Constant {
    /**
     * 定时任务的map的key
     */
    String TIMER_TASK_NAME = "MY_JOB";

    String ADMIN_ATTRIBUTE_NAME = "admin";

    String USER_ATTRIBUTE_NAME = "user";

    /**
     * 分页查询时，分页的页的key
     */
    String REQUEST_PAGE_NAME = "page";

    /**
     * 分页查询时，分页的页的大小的key
     */
    String REQUEST_PAGE_SIZE_NAME = "pageSize";

    String BAIDU_SEARCH_ENGINE = "https://www.baidu.com/sugrec?prod=pc&wd=${search}";
    String SOUGOU_SEARCH_ENGINE = "https://www.sogou.com/suggnew/ajajjson?key=${search}";
    String $360_SEARCH_ENGINE = "https://sug.so.360.cn/suggest?encodein=utf-8&encodeout=utf-8&format=json&src=srp_suggst&fields=word&word=${search}";

    String ADMIN_TOKEN_NAME = "ADMIN_TOKEN";
    String USER_TOKEN_NAME = "USER_TOKEN";
    String IMAGE_PROXY = "IMAGE_PROXY";
    String BACKGROUND_IMAGE_URL = "BACKGROUND_IMAGE_URL";
}
